export interface LoginFormType {
  phone: string
  code: string
}

export interface Community {
  id: string
  label: string
}

export interface UserInfo {
  id: number
  username: string
  phone: string
  is_super: number
  is_forbidden: number
  is_default: number
  is_modify: string
  is_bind_wechat: number
  mch_id: string
  mch_ids: string[]
  community_arr: Community[]
  community_child_arr: object
  community: object
  merchant: object
}

export interface LoginCb {
  access_token: string
  token_type: string
  expires_in: number
}
